#!/usr/bin/env python2
## -*- coding: utf-8 -*-

import sys

def sx(bits, value):
    sign_bit = 1 << (bits - 1)
    return (value & (sign_bit - 1)) - (value & sign_bit)

SymVar_0 = int(sys.argv[1])
ref_152815 = SymVar_0
ref_152830 = ref_152815 # MOV operation
ref_1138139 = ref_152830 # MOV operation
ref_1138456 = ref_1138139 # MOV operation
ref_1182617 = ref_1138456 # MOV operation
ref_1182925 = ref_1182617 # MOV operation
ref_1182939 = ((0x3F22161B + ref_1182925) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_1183385 = ref_1182939 # MOV operation
ref_1616342 = ref_1183385 # MOV operation
ref_1616659 = ref_1616342 # MOV operation
ref_2365624 = ref_1616659 # MOV operation
ref_2365941 = ref_2365624 # MOV operation
ref_2401201 = ref_2365941 # MOV operation
ref_2410426 = ref_2401201 # MOV operation
ref_2410428 = (((sx(0x40, ref_2410426) * sx(0x40, 0x378AED0A)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_2410862 = ref_2410428 # MOV operation
ref_2456781 = ref_2410862 # MOV operation
ref_2466006 = ref_2456781 # MOV operation
ref_2466008 = (((sx(0x40, ref_2466006) * sx(0x40, 0xDF2B78B)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_2466442 = ref_2466008 # MOV operation
ref_2512361 = ref_2466442 # MOV operation
ref_2521582 = ref_2512361 # MOV operation
ref_2521588 = ref_2521582 # MOV operation
ref_2521592 = (ref_2521588 >> (0x1 & 0x3F)) # SHR operation
ref_2521599 = ref_2521592 # MOV operation
ref_2522068 = ref_2521599 # MOV operation
ref_2576888 = ref_2522068 # MOV operation
ref_2577186 = ref_2576888 # MOV operation
ref_2577200 = (0xF & ref_2577186) # AND operation
ref_2577633 = ref_2577200 # MOV operation
ref_2632453 = ref_2577633 # MOV operation
ref_2632761 = ref_2632453 # MOV operation
ref_2632775 = (0x1 | ref_2632761) # OR operation
ref_2633249 = ref_2632775 # MOV operation
ref_2688069 = ref_2633249 # MOV operation
ref_2688421 = ref_2688069 # MOV operation
ref_2688425 = ((0x40 - ref_2688421) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_2688433 = ref_2688425 # MOV operation
ref_2688879 = ref_2688433 # MOV operation
ref_3133559 = ref_152830 # MOV operation
ref_3133876 = ref_3133559 # MOV operation
ref_3169136 = ref_3133876 # MOV operation
ref_3178357 = ref_3169136 # MOV operation
ref_3178363 = ref_3178357 # MOV operation
ref_3178367 = (ref_3178363 >> (0x39 & 0x3F)) # SHR operation
ref_3178374 = ref_3178367 # MOV operation
ref_3178843 = ref_3178374 # MOV operation
ref_3623523 = ref_152830 # MOV operation
ref_3623840 = ref_3623523 # MOV operation
ref_3659100 = ref_3623840 # MOV operation
ref_3668338 = ref_3659100 # MOV operation
ref_3668344 = ref_3668338 # MOV operation
ref_3668348 = ((ref_3668344 << (0x7 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_3668355 = ref_3668348 # MOV operation
ref_3668798 = ref_3668355 # MOV operation
ref_3714717 = ref_3178843 # MOV operation
ref_3723618 = ref_3668798 # MOV operation
ref_3723926 = ref_3723618 # MOV operation
ref_3723938 = ref_3714717 # MOV operation
ref_3723940 = (ref_3723938 | ref_3723926) # OR operation
ref_3724414 = ref_3723940 # MOV operation
ref_3770333 = ref_3724414 # MOV operation
ref_3779234 = ref_2688879 # MOV operation
ref_3779554 = ref_3770333 # MOV operation
ref_3779558 = ref_3779234 # MOV operation
ref_3779560 = ref_3779554 # MOV operation
ref_3779562 = (ref_3779558 & 0xFFFFFFFF) # MOV operation
ref_3779564 = (ref_3779560 >> ((ref_3779562 & 0xFF) & 0x3F)) # SHR operation
ref_3779571 = ref_3779564 # MOV operation
ref_3780040 = ref_3779571 # MOV operation
ref_4476337 = ref_1616659 # MOV operation
ref_4476654 = ref_4476337 # MOV operation
ref_4511914 = ref_4476654 # MOV operation
ref_4521139 = ref_4511914 # MOV operation
ref_4521141 = (((sx(0x40, ref_4521139) * sx(0x40, 0x378AED0A)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_4521575 = ref_4521141 # MOV operation
ref_4567494 = ref_4521575 # MOV operation
ref_4576719 = ref_4567494 # MOV operation
ref_4576721 = (((sx(0x40, ref_4576719) * sx(0x40, 0xDF2B78B)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_4577155 = ref_4576721 # MOV operation
ref_4623074 = ref_4577155 # MOV operation
ref_4632295 = ref_4623074 # MOV operation
ref_4632301 = ref_4632295 # MOV operation
ref_4632305 = (ref_4632301 >> (0x1 & 0x3F)) # SHR operation
ref_4632312 = ref_4632305 # MOV operation
ref_4632781 = ref_4632312 # MOV operation
ref_4687601 = ref_4632781 # MOV operation
ref_4687899 = ref_4687601 # MOV operation
ref_4687913 = (0xF & ref_4687899) # AND operation
ref_4688346 = ref_4687913 # MOV operation
ref_4743166 = ref_4688346 # MOV operation
ref_4743474 = ref_4743166 # MOV operation
ref_4743488 = (0x1 | ref_4743474) # OR operation
ref_4743962 = ref_4743488 # MOV operation
ref_5188642 = ref_152830 # MOV operation
ref_5188959 = ref_5188642 # MOV operation
ref_5224219 = ref_5188959 # MOV operation
ref_5233440 = ref_5224219 # MOV operation
ref_5233446 = ref_5233440 # MOV operation
ref_5233450 = (ref_5233446 >> (0x39 & 0x3F)) # SHR operation
ref_5233457 = ref_5233450 # MOV operation
ref_5233926 = ref_5233457 # MOV operation
ref_5678606 = ref_152830 # MOV operation
ref_5678923 = ref_5678606 # MOV operation
ref_5714183 = ref_5678923 # MOV operation
ref_5723421 = ref_5714183 # MOV operation
ref_5723427 = ref_5723421 # MOV operation
ref_5723431 = ((ref_5723427 << (0x7 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_5723438 = ref_5723431 # MOV operation
ref_5723881 = ref_5723438 # MOV operation
ref_5769800 = ref_5233926 # MOV operation
ref_5778701 = ref_5723881 # MOV operation
ref_5779009 = ref_5778701 # MOV operation
ref_5779021 = ref_5769800 # MOV operation
ref_5779023 = (ref_5779021 | ref_5779009) # OR operation
ref_5779497 = ref_5779023 # MOV operation
ref_5825416 = ref_5779497 # MOV operation
ref_5834317 = ref_4743962 # MOV operation
ref_5834654 = ref_5825416 # MOV operation
ref_5834658 = ref_5834317 # MOV operation
ref_5834660 = ref_5834654 # MOV operation
ref_5834662 = (ref_5834658 & 0xFFFFFFFF) # MOV operation
ref_5834664 = ((ref_5834660 << ((ref_5834662 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_5834671 = ref_5834664 # MOV operation
ref_5835114 = ref_5834671 # MOV operation
ref_5881033 = ref_3780040 # MOV operation
ref_5889934 = ref_5835114 # MOV operation
ref_5890242 = ref_5889934 # MOV operation
ref_5890254 = ref_5881033 # MOV operation
ref_5890256 = (ref_5890254 | ref_5890242) # OR operation
ref_5890730 = ref_5890256 # MOV operation
ref_6323687 = ref_5890730 # MOV operation
ref_6324004 = ref_6323687 # MOV operation
ref_6809629 = ref_6324004 # MOV operation
ref_6809946 = ref_6809629 # MOV operation
ref_6854107 = ref_6809946 # MOV operation
ref_6854415 = ref_6854107 # MOV operation
ref_6854429 = ((0xAD6EED + ref_6854415) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_6854875 = ref_6854429 # MOV operation
ref_7246887 = ref_152830 # MOV operation
ref_7247204 = ref_7246887 # MOV operation
ref_7282464 = ref_6854875 # MOV operation
ref_7291365 = ref_7247204 # MOV operation
ref_7291673 = ref_7291365 # MOV operation
ref_7291685 = ref_7282464 # MOV operation
ref_7291687 = ((ref_7291685 + ref_7291673) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_7292133 = ref_7291687 # MOV operation
ref_7725090 = ref_7292133 # MOV operation
ref_7725407 = ref_7725090 # MOV operation
ref_8211032 = ref_6324004 # MOV operation
ref_8211349 = ref_8211032 # MOV operation
ref_8255510 = ref_8211349 # MOV operation
ref_8255818 = ref_8255510 # MOV operation
ref_8255832 = ((0x2B6B05ED + ref_8255818) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_8256278 = ref_8255832 # MOV operation
ref_8689235 = ref_7725407 # MOV operation
ref_8689552 = ref_8689235 # MOV operation
ref_8724812 = ref_8256278 # MOV operation
ref_8733713 = ref_8689552 # MOV operation
ref_8734011 = ref_8733713 # MOV operation
ref_8734023 = ref_8724812 # MOV operation
ref_8734025 = (ref_8734023 & ref_8734011) # AND operation
ref_8734458 = ref_8734025 # MOV operation
ref_9167415 = ref_1616659 # MOV operation
ref_9167732 = ref_9167415 # MOV operation
ref_9549085 = ref_152830 # MOV operation
ref_9549402 = ref_9549085 # MOV operation
ref_9584662 = ref_9167732 # MOV operation
ref_9593563 = ref_9549402 # MOV operation
ref_9593871 = ref_9593563 # MOV operation
ref_9593883 = ref_9584662 # MOV operation
ref_9593885 = (ref_9593883 | ref_9593871) # OR operation
ref_9594359 = ref_9593885 # MOV operation
ref_9640278 = ref_8734458 # MOV operation
ref_9649179 = ref_9594359 # MOV operation
ref_9649487 = ref_9649179 # MOV operation
ref_9649499 = ref_9640278 # MOV operation
ref_9649501 = ((ref_9649499 + ref_9649487) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_9649947 = ref_9649501 # MOV operation
ref_10082904 = ref_9649947 # MOV operation
ref_10083221 = ref_10082904 # MOV operation
ref_10621514 = ref_7725407 # MOV operation
ref_10621831 = ref_10621514 # MOV operation
ref_10665992 = ref_10621831 # MOV operation
ref_10666290 = ref_10665992 # MOV operation
ref_10666304 = (0x3F & ref_10666290) # AND operation
ref_10666737 = ref_10666304 # MOV operation
ref_10712656 = ref_10666737 # MOV operation
ref_10721894 = ref_10712656 # MOV operation
ref_10721900 = ref_10721894 # MOV operation
ref_10721904 = ((ref_10721900 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_10721911 = ref_10721904 # MOV operation
ref_10722354 = ref_10721911 # MOV operation
ref_11155311 = ref_10083221 # MOV operation
ref_11155628 = ref_11155311 # MOV operation
ref_11190888 = ref_10722354 # MOV operation
ref_11199789 = ref_11155628 # MOV operation
ref_11200097 = ref_11199789 # MOV operation
ref_11200109 = ref_11190888 # MOV operation
ref_11200111 = (ref_11200109 | ref_11200097) # OR operation
ref_11200585 = ref_11200111 # MOV operation
ref_11633542 = ref_11200585 # MOV operation
ref_11633859 = ref_11633542 # MOV operation
ref_12277488 = ref_6324004 # MOV operation
ref_12277805 = ref_12277488 # MOV operation
ref_12313065 = ref_12277805 # MOV operation
ref_12322286 = ref_12313065 # MOV operation
ref_12322292 = ref_12322286 # MOV operation
ref_12322296 = (ref_12322292 >> (0x4 & 0x3F)) # SHR operation
ref_12322303 = ref_12322296 # MOV operation
ref_12322772 = ref_12322303 # MOV operation
ref_12377592 = ref_12322772 # MOV operation
ref_12377890 = ref_12377592 # MOV operation
ref_12377904 = (0xF & ref_12377890) # AND operation
ref_12378337 = ref_12377904 # MOV operation
ref_12433157 = ref_12378337 # MOV operation
ref_12433465 = ref_12433157 # MOV operation
ref_12433479 = (0x1 | ref_12433465) # OR operation
ref_12433953 = ref_12433479 # MOV operation
ref_12488773 = ref_12433953 # MOV operation
ref_12489125 = ref_12488773 # MOV operation
ref_12489129 = ((0x40 - ref_12489125) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_12489137 = ref_12489129 # MOV operation
ref_12489583 = ref_12489137 # MOV operation
ref_12922540 = ref_1616659 # MOV operation
ref_12922857 = ref_12922540 # MOV operation
ref_12958117 = ref_12922857 # MOV operation
ref_12967018 = ref_12489583 # MOV operation
ref_12967338 = ref_12958117 # MOV operation
ref_12967342 = ref_12967018 # MOV operation
ref_12967344 = ref_12967338 # MOV operation
ref_12967346 = (ref_12967342 & 0xFFFFFFFF) # MOV operation
ref_12967348 = (ref_12967344 >> ((ref_12967346 & 0xFF) & 0x3F)) # SHR operation
ref_12967355 = ref_12967348 # MOV operation
ref_12967824 = ref_12967355 # MOV operation
ref_13558785 = ref_6324004 # MOV operation
ref_13559102 = ref_13558785 # MOV operation
ref_13594362 = ref_13559102 # MOV operation
ref_13603583 = ref_13594362 # MOV operation
ref_13603589 = ref_13603583 # MOV operation
ref_13603593 = (ref_13603589 >> (0x4 & 0x3F)) # SHR operation
ref_13603600 = ref_13603593 # MOV operation
ref_13604069 = ref_13603600 # MOV operation
ref_13658889 = ref_13604069 # MOV operation
ref_13659187 = ref_13658889 # MOV operation
ref_13659201 = (0xF & ref_13659187) # AND operation
ref_13659634 = ref_13659201 # MOV operation
ref_13714454 = ref_13659634 # MOV operation
ref_13714762 = ref_13714454 # MOV operation
ref_13714776 = (0x1 | ref_13714762) # OR operation
ref_13715250 = ref_13714776 # MOV operation
ref_14148207 = ref_1616659 # MOV operation
ref_14148524 = ref_14148207 # MOV operation
ref_14183784 = ref_14148524 # MOV operation
ref_14192685 = ref_13715250 # MOV operation
ref_14193022 = ref_14183784 # MOV operation
ref_14193026 = ref_14192685 # MOV operation
ref_14193028 = ref_14193022 # MOV operation
ref_14193030 = (ref_14193026 & 0xFFFFFFFF) # MOV operation
ref_14193032 = ((ref_14193028 << ((ref_14193030 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_14193039 = ref_14193032 # MOV operation
ref_14193482 = ref_14193039 # MOV operation
ref_14239401 = ref_12967824 # MOV operation
ref_14248302 = ref_14193482 # MOV operation
ref_14248610 = ref_14248302 # MOV operation
ref_14248622 = ref_14239401 # MOV operation
ref_14248624 = (ref_14248622 | ref_14248610) # OR operation
ref_14249098 = ref_14248624 # MOV operation
ref_14682055 = ref_11633859 # MOV operation
ref_14682372 = ref_14682055 # MOV operation
ref_15104670 = ref_7725407 # MOV operation
ref_15104987 = ref_15104670 # MOV operation
ref_15140247 = ref_14682372 # MOV operation
ref_15149148 = ref_15104987 # MOV operation
ref_15149456 = ref_15149148 # MOV operation
ref_15149468 = ref_15140247 # MOV operation
ref_15149470 = ((ref_15149468 + ref_15149456) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_15149916 = ref_15149470 # MOV operation
ref_15195835 = ref_15149916 # MOV operation
ref_15204736 = ref_14249098 # MOV operation
ref_15205048 = ref_15204736 # MOV operation
ref_15205060 = ref_15195835 # MOV operation
ref_15205062 = (((sx(0x40, ref_15205060) * sx(0x40, ref_15205048)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_15205496 = ref_15205062 # MOV operation
ref_15597441 = ref_15205496 # MOV operation
ref_15597758 = ref_15597441 # MOV operation
ref_15659019 = ref_15597758 # MOV operation
ref_15659021 = ref_15659019 # MOV operation

print ref_15659021 & 0xffffffffffffffff
